package com.culture.config.model.po;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.util.Map;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class AppInstanceProxyPO {
    @NotNull(message="id can't be null")
    Long id;
    @NotBlank(message="path can't be blank")
    String path;   
    @NotBlank(message="method can't be blank")
    String method = "GET";
    Map<String,Object> proxyParms;
}
